<div class="container">
<?php if(GROUP_NAME == 'front' && CONTROLLER_NAME == 'lottery' && ACTION_NAME == 'index' ):?>
	<div class="full_right_fix">
    <div class="cat-fix_11_11 cat-fix-top_11_11" id="catlist_11_11">
		<div class="title">分类</div>
		<ul>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>1)); ?>" class="hot_cat">女装</a> <div class="hot_icon"></div></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>2)); ?>" class="hot_cat">男装</a> <div class="hot_icon"></div></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>3)); ?>" class="">母婴</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>4)); ?>" class="">鞋类</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>5)); ?>" class="hot_cat">居家</a> <div class="hot_icon"></div></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>6)); ?>" class="">美食</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>7)); ?>" class="">配饰</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>9)); ?>" class="">数码</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>8)); ?>" class="">美妆</a></li>
			<li class=""><a href="<?php echo  $this->createUrl('/front/index/index',array('cid'=>10)); ?>" class="">文体</a></li>
		</ul>
		<div class="title">专题汇</div>
		<div class="white_fix">
			<ul>
				<li><a href="<?php echo  $this->createUrl('/front/cat/jj'); ?>" class="">9.9包邮</a></li>
				<li><a href="<?php echo  $this->createUrl('/front/index/tmall'); ?>" class="">天猫专场</a></li>
				<li><a href="<?php echo  $this->createUrl('/front/index/qing'); ?>" class="">秋冬御寒</a></li>
			</ul>
		</div>
		<div class="fix-bottom">
	    	<div class="share_jifen"><a class="close" href="javascript:void(0);"></a></div>
	    	<div class="share_home"><a class="close" href="javascript:void(0);"></a></div>
	        <div class="share" id="rightshare"></div>
	        <div class="collect" id="addBookMark"></div>
	        <div class="top" id="gotop"></div>
	    </div>
	</div>
	
<?php else :?>

	 <div class="cat-fix cat-fix-top" id="catlist">
        <div class="title2"></div>
        <ul>
            <?php $this->widget('zii.widgets.CMenu',array(
                  'items'=>$this->catMenusFix,
                  'encodeLabel' => FALSE,
                  'htmlOptions' => array('class'=>'cat'),
             )); ?>				
        </ul>
    </div>
    <div class="bottom-fix">
    	<div class="share_jifen"><a class="close" href="javascript:void(0);"></a></div>
    	<div class="share_home"><a class="close" href="javascript:void(0);"></a></div>
        <div class="share" id="rightshare"></div>
        <div class="collect" id="addBookMark"></div>
        <div class="top" id="gotop"></div>
    </div>
    
<?php endif ?>
    <input type="hidden" id="record_product_id" value="0" />
    </div>
</div>

<div class="share-box" id="right_fix_share" style="display:none;">
	<div class="share">
		<div style="color:#000;padding:10px 0 10px 16px" class="title pull-left">分享送积分：</div>
            <div id="share" style="padding:6px 0" class=" pull-left" data-tag="share_2" data-text="sh2" id="share_2">
                <a class="share_weixin share_icon" target="_blank" data-cmd="weixin"></a>
				<a class="share_sqq share_icon" target="_blank" data-cmd="sqq"></a>
				<a class="share_tsina share_icon" target="_blank" data-cmd="tsina"></a>
				<a class="share_qzone share_icon" target="_blank" data-cmd="qzone" href="#"></a>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
<script>
var sharebox = $('#right_fix_share');
var page = "";


$('#rightshare').mouseover(function(){
	if(typeof(share_home) != "undefined")
	{
		$('.share_home').show();
		page = 'home';
	}
	if(typeof(share_jifen) != "undefined")
	{
		$('.share_jifen').show();
		page = 'jifen';
	}if(typeof(share_s11) != "undefined")
	{
		//$('.share_jifen').show();
		page = 's11';
	}
});

$('.close').click(function(){
	$(this).parent().hide();
});

var d = dialog({
    title: '分享送积分',
    cancelValue: '取消',
    cancel: true,
    content: sharebox.show()
});

var geturl = '/user/public/PageShare.html';
$('#rightshare').click(function(){	
    d.show();
    if(pagetype == "jifen"){
		Url = 'http://www.1zw.com/jifen.html?client=pc';
	}else if(pagetype == "home"){
		Url = 'http://www.1zw.com/?client=pc';
	}else if(pagetype == "s11"){
		Url = 'http://www.1zw.com/s11.html?client=pc';
		geturl = '/user/public/PageShare11.html';
	}
	//(id, Pic, Url, Text, Desc, Func)
    share_box('right_fix_share','',Url,'','',function() {
        $.get(geturl, {page: page}, function(data) {});
    });
});

</script>